// testarray.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
#include <memory.h>
#include <string.h>
#include <stdio.h>


int main(int argc, char* argv[])
{
	int array[2][3] = {{1,2,3},{4,5,6}};
	int *p;

	p = new int[6];
	
	memcpy(p,array,24);

	int arrarcopy[2][3];

	memcpy(arrarcopy,p,24);


	printf("Hello World!\n");
	return 0;
}

